package com.supermate.supercut.domain.repo;

import com.supermate.supercut.domain.model.ClipboardText;
import com.supermate.supercut.domain.model.FileResource;

import java.util.List;

/**
 * @Author: 冰岩
 * @Date: 2023/10/28
 * @Description:
 */
public interface ClipboardResourceRepo {

    boolean saveOrUpdateClipboardText(ClipboardText text);

    boolean saveFileResource(FileResource fileResource);

    ClipboardText queryClipboardText(String clipboardName);

    List<FileResource> queryFileLists(String clipboardName);

    boolean deleteFile(Long fileId);

}
